<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><title>仓储系统--总部物料管理</title>
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/zhanqu.css">
    <link rel="stylesheet" href="css/mendian.css">
    <link rel="stylesheet" href="css/hdCk.css">
</head>
<body>
<div class="all">
    <script src="js/top.js"></script>
    <div class="cnt">
        <script src="js/nav.js"></script>
        <script>
            setColor(6)
        </script>
        <div class="main">
            <div class="main_top">
                <h3>总部物料管理</h3>
                <div style="height: 1px;width:90%; background: #666666 " ></div>
                <div class="search">
                    <input id="stitle" placeholder="物料名称" />
                    <img id="search_btn"
                         onclick="search()"
                         width="16" src="images/search.png" />
                </div>
                <div class="search">
                    <select id="s_zq" onclick="searchByZq(s_zq.value)">
                    </select>
                <div class="btn" id="add_btn" onclick="add()">新增物料</div>
                <div class="btn" id="add_save_btn" style="display:none" onclick="add_save()">保存</div>
                <div class="btn" id="edit_save_btn" style="display:none" onclick="edit_save()">保存</div>
            </div>
            <div id="loading" style="text-align: center;height:300px;line-height: 300px">
                <img src="https://gd-hbimg.huaban.com/3099e765b298074ac966b5b9b09b01abab1914cdfaab-OsdLGk_fw658" />
            </div>
            <div id="list_div">
            </div>
            </div>

            <div class="add_edit" id="add_div" style="display:none;">
                <table>
                    <tr>
                        <td><span style="color:red">* </span></td>
                        <td>
                            <div class="table_div" >请选择物料类型</div>
                        </td>
                        <td>
                            <div class="input_div"><select id="wl_type"></select></div>
                        </td>
                    </tr>
                <tr>
                    <td><span style="color:red">* </span></td>
                    <td>
                        <div class="table_div" >物料名称</div>
                    </td>
                    <td>
                        <div class="input_div"><input id="wl_name" /></div>
                    </td>
                </tr>
                    <tr>
                        <td><span style="color:red">* </span></td>
                        <td>
                            <div class="table_div" >物料编码</div>
                        </td>
                        <td>
                            <div class="input_div"><input id="code" /></div>
                        </td>
                    </tr>
                     <tr>
                         <td></td>
                    <td>
                        <div class="table_div">物料SN号</div>
                    </td>
                    <td>
                        <div class="input_div"><input id="sn_no" /></div>
                    </td>
                </tr>
                     <tr>
                         <td></td>
                    <td>
                        <div class="table_div">供应商类型</div>
                    </td>
                    <td>
                        <select class="input_div" id="sup_type" >
                            <option>厂家</option>
                            <option>外部</option>
                        </select>
                    </td>
                </tr>
                    <tr>
                        <td></td>
                        <td>
                            <div class="table_div">供应商名称</div>
                        </td>
                        <td>
                            <div class="input_div"><input id="sup_name"/></div>
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>
                            <div class="table_div">供应商编码</div>
                        </td>
                        <td>
                            <div class="input_div"><input id="sup_code"/></div>
                        </td>
                    </tr>
                <tr>
                    <td></td>
                    <td>
                        <div class="table_div">物料仓库</div>
                    </td>
                    <td>
                        <div class="input_div"><select id="wl_CK"></select></div>
                    </td>
                </tr>
                    <tr>
                    <td></td>
                    <td>
                        <div class="table_div">成本价</div>
                    </td>
                    <td>
                        <div class="input_div"><input id="chengben"/></div>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <div class="table_div">状态</div>
                    </td>
                    <td>
                        <select id="status_sel">
                            <option>上架</option>
                            <option>下架</option>
                        </select>
                    </td>
                </tr>
                </table>
            </div>
            <div class="add_edit" id="edit_div" style="display:none;">
                <div class="input_div">门店名称：<input id="e_md_name" class="md_name"/></div>
                <div class="input_div">门店编码：
                    <input class="code" id="e_md_code" />
                </div>
                <div class="input_div">负责人名称：
                    <input class="admin_name" id="e_admin_name" />
                </div>
                <div class="input_div">负责人联系方式：
                    <input class="admin_tel" id="e_admin_tel" />
                </div>
                <div class="input_div" id="e_option_zq"></div>
                <div class="input_div" id="e_option_status">
                    状态:<select id="e_status">
                    <option>启用</option>
                    <option>禁用</option>
                </select>
                </div>
            </div>
        </div>
    </div>
    <div class="bot">
        Copyright © 2022-2023 XINLING. All Rights Reserved.
    </div>
</div>
<script src="js/base.js"></script>
<script src="js/headquarterCK.js"></script>


</body>
</html>
